.home-content {
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  background-color: #fff;
  margin-top: -12px;
  padding: 15px 20px 97px;
  box-sizing: border-box;
  position: relative;
  .off-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 100;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
  }

  /* 操作按钮开始 */
  .action-btns {
    display: flex;
    margin-top: 20px;
    .item {
      background-color: #f5f6f8;
      border-radius: 10px;
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 14px 0;
      .icon {
        width: 42px;
        height: 42px;
        background-color: #fff;
        border-radius: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
      }
      .active {
        background-color: var(--primary-color);
      }
      .title {
        margin-top: 8px;
        margin-bottom: 10px;
        font-size: 12px;
        font-weight: bold;
        color: var(--primary-text-color);
      }
      .status {
        font-size: 10px;
        color: #999;
        span {
          color: var(--primary-color);
        }
      }
    }
    .item:nth-of-type(2) {
      margin: 0 10px;
    }
    .active {
      .icon {
        background-color: var(--primary-color);
      }
    }
  }
  /* 操作按钮结束 */

  /* 滑块开始 */
  .gears {
    margin-top: 20px;
    .title {
      font-size: 15px;
      font-weight: bold;
      color: var(--primary-text-color);
    }
    .level-slider {
      display: flex;
      align-items: center;
      margin-bottom: 20px;
      .slider {
        width: 100%;
        margin: 0 18px;
        padding-top: 30px;
        box-sizing: border-box;
        :deep(.van-slider__button) {
          border: 1px solid var(--primary-color) !important;
        }
        :deep(.van-slider__button) {
          width: 20px;
          height: 20px;
        }
      }
      .level-text {
        display: flex;
        justify-content: space-between;
        margin-top: 16px;
        div {
          font-size: 10px;
          color: #999;
        }
      }
    }
  }
  /* 滑块结束 */

  /* 模式样式开始 */
  .mode {
    display: flex;
    justify-content: space-between;
    & > div {
      .title {
        width: 115px;
        text-align: center;
        color: var(--primary-text-color);
        font-size: 15px;
        font-weight: bold;
        line-height: 21px;
        margin-bottom: 10px;
      }
    }
    .btn {
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: var(--primary-color);
      width: 115px;
      height: 37px;
      border-radius: 34px;
      .text {
        color: #fff;
        font-size: 12px;
        font-weight: bold;
        margin-left: 6px;
      }
      .arrow {
        margin-left: 20px;
      }
    }
  }
  /* 模式样式结束 */

  /* 开关样式开始 */
  .off-on {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #fff;
    height: 68px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px -2px 4px 1px rgba(193, 202, 220, 0.3);
    .icon {
      width: 48px;
      height: 48px;
      border-radius: 100%;
      background-color: var(--primary-color);
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .off-icon {
      background-color: #f5f6f8;
    }
  }
  /* 开关样式开始 */
}
/* 定时弹框样式开始 */
.time-pop {
  :deep(.van-picker-column__item--selected) {
    & > div {
      color: var(--primary-color);
      font-size: 20px;
    }
  }
  .cancel {
    .btn {
      color: #ff0000;
      font-size: 15px;
      height: 45px;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .space {
      height: 5px;
      background-color: #f5f6f8;
    }
    .text {
      position: absolute;
      top: calc(50% - 8px);
      left: calc(50% + 20px);
      color: var(--primary-color);
      font-size: 12px;
    }
  }
}
/* 定时弹框样式结束 */

/* 模式弹框 start*/
.mode-body {
  border-radius: 10px;
  width: 115px;
  background-color: #fff;
  border: 1px solid #f2f2f2;
  .item {
    height: 42px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    box-sizing: border-box;
    .text {
      margin-left: 5px;
      color: #999;
      font-size: 12px;
    }
  }
  .active {
    background-color: rgba(65, 161, 255, 0.1);
    .text {
      color: var(--primary-color);
    }
  }
  .item:first-child.active {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
  .item:last-child.active {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }
}
/* 模式弹框 end*/

/* 箭头旋转动画开始 */
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(180deg);
  }
}
/* 箭头旋转动画结束 */
